package com.yhs.YShop.service;

import java.util.List;


import com.yhs.YShop.model.Operation;

public interface OperationService {

	/**
	 * 获取所有的权限
	 * @return
	 */
	List<Operation> findAll();
	/**
	 * 保存权限
	 * @param operation
	 * @return
	 */
	Integer saveOperation(Operation operation);
	/**
	 * 获取单个权限
	 * @param operationId 权限ID
	 * @return
	 */
	Operation findOperationById(Integer operationId);
}
